package wjh.service;

import org.springframework.web.multipart.MultipartFile;
import wjh.pojo.Doctor;

import javax.servlet.http.HttpServletRequest;

public interface DoctorInfoService {

    Doctor findDoctorById(int id);

    void updateInfo(Doctor doctor, MultipartFile file, HttpServletRequest request);

    Doctor findDoctorLogin(String phone, String password);

    Doctor findDoctorId(String phone, String password);

    Doctor findDoctorRegister(String phone);

    void register(String phone, String password);
}
